import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import echarts from 'echarts'

import iView from 'iview';


import 'iview/dist/styles/iview.css';
Vue.use(iView);

import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI);

import imgPreview from '@/components/imgPreview'
Vue.use(imgPreview)

import './assets/css/global.css'
import mytimer from './assets/js/mytimer.js'
Vue.prototype.$echarts = echarts
Vue.prototype.$mytimer = mytimer

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
